<?php

$cates = get_category();
$chosen_arts = get_chosen_arts(3);
$hot_arts = get_hot_arts("%", 10);
$hot_comments = get_hot_comments("%", 10);
$hot_labels = get_hot_labels("%", 60);
?>


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<link type="text/css" rel="stylesheet" href=<?php  print("\"./themes/" . $cur_theme . "/css/init.css\""); ?> />
	<link type="text/css" rel="stylesheet" href=<?php  print("\"./themes/" . $cur_theme . "/css/layout.css\""); ?> />
	<link type="text/css" rel="stylesheet" href=<?php  print("\"./themes/" . $cur_theme . "/css/mods.css\""); ?> />
	<link type="text/css" rel="stylesheet" href=<?php  print("\"./themes/" . $cur_theme . "/css/login_dialog.css\""); ?> />
	<link type="text/css" rel="stylesheet" href=<?php  print("\"./themes/" . $cur_theme . "/css/xearchbox.css\""); ?> />
	<script type="text/javascript" src=<?php  print("\"./themes/" . $cur_theme . "/js/jquery.min.js\""); ?>></script>
	<script type="text/javascript" src=<?php  print("\"./themes/" . $cur_theme . "/js/jquery.SuperSlide.2.1.js\""); ?>></script>
	<script type="text/javascript" src=<?php  print("\"./themes/" . $cur_theme . "/js/xearchbox.js\""); ?>></script>
	<script type="text/javascript" src=<?php  print("\"./themes/" . $cur_theme . "/js/login_dialog.js\""); ?>></script>
	<script type="text/javascript" src=<?php  print("\"./themes/" . $cur_theme . "/js/slider/main.js\""); ?>></script>

	<script type="text/javascript">
	$(document).ready(function(){
		var show_per_page = 18;
		var number_of_items = $('#area_artlist').children().size();
		var number_of_pages = Math.ceil(number_of_items/show_per_page);
		$('#current_page').val(0);
		$('#show_per_page').val(show_per_page);
		var navigation_html = '<a class="previous_link" href="javascript:previous();">上一页</a>';
		var current_link = 0;
		while(number_of_pages > current_link){
			navigation_html +=
			'<a class="page_link" href="javascript:go_to_page(' +
				current_link +')" longdesc="' + current_link +'">'+
						(current_link + 1) +'</a>';
			current_link++;
		}
		navigation_html += '<a class="next_link" href="javascript:next();">下一页</a>';
		$('#page_navigation').html(navigation_html);
		$('#page_navigation .page_link:first').addClass('active_page');
		$('#area_artlist').children().css('display', 'none');
		$('#area_artlist').children().slice(0, show_per_page).css('display', 'block');	
	});
	function previous(){
		new_page = parseInt($('#current_page').val()) - 1;
		if($('.active_page').prev('.page_link').length==true){
			go_to_page(new_page);
		}
	}
	function next(){
		new_page = parseInt($('#current_page').val()) + 1;
		if($('.active_page').next('.page_link').length==true){
			go_to_page(new_page);
		}
	}
	function go_to_page(page_num){
		var show_per_page = parseInt($('#show_per_page').val());
		start_from = page_num * show_per_page;
		end_on = start_from + show_per_page;
		$('#area_artlist').children().css('display', 'none').slice(start_from, end_on).css('display', 'block');
		$('.page_link[longdesc=' + page_num +']').addClass('active_page').siblings('.active_page').removeClass('active_page');
		$('#current_page').val(page_num);
	}

	// 添加到收藏夹
	function AddFavorite(title, url) {
		try {
			window.external.addFavorite(url, title);
		}
		catch (e) {
			try {
				window.sidebar.addPanel(title, url, "");
			}
			catch (e) {
				alert("抱歉，您所使用的浏览器无法完成此操作。\n\n加入收藏失败，请使用Ctrl+D进行添加");
			}
		}
	}
	
	</script>
	<style>
	#page_navigation a{
		padding:3px;
		border:1px solid gray;
		margin:2px;
		color:black;
		text-decoration:none
	}
	.active_page{
		background:darkblue;
		color:white !important;
	}
	</style>

	
    <title><?php print(get_sys_info('sitename')); ?> - 首页</title>
  </head>
  <body>
	<!-- 登陆框什么的 开始 -->

	<div class="cd-user-modal"> 
	  <div class="cd-user-modal-container">
		<ul class="cd-switcher">
		  <li><a href="#0">用户登录</a></li>
		  <li><a href="#0">注册新用户</a></li>
		</ul>

		<div id="cd-login"> <!-- 登录表单 -->
		  <form class="cd-form">
			<p class="fieldset">
			  <label class="image-replace cd-username" for="signin-username">用户名</label>
			  <input class="full-width has-padding has-border" id="username" type="text" placeholder="输入用户名">
			</p>

			<p class="fieldset">
			  <label class="image-replace cd-password" for="signin-password">密码</label>
			  <input class="full-width has-padding has-border" id="password" type="password"  placeholder="输入密码">
			</p>

			<p class="fieldset">
			  <input type="checkbox" id="remember-me" checked>
			  <label for="remember-me">记住登录状态</label>
			</p>

			<p class="fieldset">
			  <input class="full-width2" type="submit" value="登 录" id="btn_sub_login">
			</p>
		  </form>
		</div>
		
		<div id="cd-signup"> <!-- 注册表单 -->
		  <form class="cd-form" action="services/signup.php" method="post">
			<p class="fieldset">
			  <label class="image-replace cd-username" for="signup_username">用户名</label>
			  <input class="full-width has-padding has-border" id="signup_username" name="signup_username" type="text" placeholder="输入用户名">
			</p>

			<p class="fieldset">
			  <label class="image-replace cd-email" for="signup_email">邮箱</label>
			  <input class="full-width has-padding has-border" id="signup_email" name="signup_email" type="email" placeholder="输入mail">
			</p>

			<p class="fieldset">
			  <label class="image-replace cd-password" for="signup_password">密码</label>
			  <input class="full-width has-padding has-border" id="signup_password" name="signup_password" type="password"  placeholder="输入密码">
			</p>

			<p class="fieldset">
			  <label class="image-replace cd-password" for="signup_repassword">密码</label>
			  <input class="full-width has-padding has-border" id="signup_repassword" name="signup_repassword" type="password"  placeholder="确认密码">
			</p>

			<p class="fieldset">
			  <input type="checkbox" id="accept_terms">
			  <label for="accept_terms">我已阅读并同意 <a href="#0">用户协议</a></label>
			</p>

			<p class="fieldset">
			  <input class="full-width2" type="submit" value="注册新用户" id="btn_sub_signup">
			</p>
		  </form>
		</div>

	  </div>
	</div>

	<script  type="text/javascript">
	$(document).ready(function(){

		$("#btn_sub_login").click(function() {
			$.post("./services/login.php",{username : $("#username").val(), password : $("#password").val()}, function(data){
				if(data.status == 0){
					$(".cd-user-modal").removeClass('is-visible');
					var s_menu = "";
					s_menu = "<h3><a target=\"_blank\" href=\"";
					s_menu += "uc.php?username=" + data.rtn_username + "\"" +  ">" + data.rtn_username + "<i></i></a></h3>";
					s_menu += "				<ul>";
					s_menu += "<li><a href=\"msg.php?username=" + data.rtn_username + "\">消息<span>1000</span></a></li>";
					s_menu += "<li><a href=\"logout.php\"  id=\"exit_login\">退出</a></li>";
					s_menu += "</ul>";
					$("#menu_item_login").empty();
					$("#menu_item_login").append(s_menu);
				} else {
					alert("登录失败！请重新输入！");
				}
 			}, 'json');
		});
		
		$("#exit_login").die().live("click", function(event) {
			event.preventDefault();
			$.get("services/logout.php","",function(data){
				if(data == "OK"){
					var s_menu = "";
					s_menu += "<nav class=\"main_nav\"><h3>";
					s_menu += "<a class=\"cd-signin\" href=\"#0\" style=\"color: orange;\">登录/注册</a> </h3></nav>";
					$("#menu_item_login").empty();
					$("#menu_item_login").append(s_menu);
				}
			});
		});

		$("#btn_sub_signup").die().live("click", function(event) {
			event.preventDefault();
			if (document.getElementById("accept_terms").checked == false) {
				alert("请先阅读并同意《用户协议》，然后继续注册！");
				return false;
			}
			if (document.getElementById("signup_password").value != document.getElementById("signup_repassword").value) {
				alert("两次输入的密码不一致，请重新输入！");
				return false;
			}
			
			$.post("services/signup.php",{
				signup_username:$("#signup_username").val(),
				signup_email:$("#signup_email").val(),
				signup_password:$("#signup_password").val()
			}, function(data){
				if (data.status == 0) {
					$(".cd-user-modal").removeClass('is-visible');
					var s_menu = "";
					s_menu = "<h3><a target=\"_blank\" href=\"";
					s_menu += "uc.php?username=" + data.rtn_username + "\"" +  ">" + data.rtn_username + "<i></i></a></h3>";
					s_menu += "				<ul>";
					s_menu += "<li><a href=\"msg.php?username=" + data.rtn_username + "\">消息<span>1000</span></a></li>";
					s_menu += "<li><a href=\"logout.php\"  id=\"exit_login\">退出</a></li>";
					s_menu += "</ul>";
					$("#menu_item_login").empty();
					$("#menu_item_login").append(s_menu);
				} else {
					if (data.status == -1) {
						alert("注册失败！当前已登录，请先退出当前登录，然后注册！");
					}
					if (data.status == -2) {
						alert("注册失败！注册信息填写不完整，请完善！");
					}
					if (data.status == -3) {
						alert("注册失败！服务器端操作数据库失败，或者该用户名已经被注册，请联系管理员以解决相关问题！");
					}
				}
 			}, 'json');
		});
		
	});
	
	</script>
	
	<!-- 登陆框什么的 结束 -->
	
	<a name="head"></a>
    <div id="area_head">
      <div id="area_head_center">
		<div id="mod_logo" onmouseover="this.style.cursor='pointer';" onclick="document.location='http://www.thesct.net';"></div>
		<div id="area_head_left">
		  <div id="wrap_ad_top"></div>
		  <div class="cls_main_menu">
			<dl class="turn_right">
			  <dd>
				<h3><a class="cls_cur_menu_item">首页</a></h3>
			  </dd>
			  <?php
			  foreach ($cates as $cate) {
				  print("<dd><h3>" . "<a href=\"category.php?id=" . $cate['id'] . "\">" .$cate['name'] . "</a>" . "</h3></dd>");
			  }
			  ?>
			  <dd   id="menu_item_login">
				<?php
				$s_menu = "<h3><a target=\"_blank\" href=\"";
				if ($username != "") {
					$s_menu .= "uc.php?username={$username}\"" .  ">" . $username . "<i></i></a></h3>";
					$s_menu .= "				<ul>";
					$s_menu .= "<li><a href=\"msg.php?username={$username}\">消息<span>2000</span></a></li>";
					$s_menu .= "<li><a href=\"logout.php\" id=\"exit_login\">退出</a></li>";
					$s_menu .= "</ul>";
				} else {
					$s_menu = "<nav class=\"main_nav\"><h3>";
					$s_menu .= "<a class=\"cd-signin\" href=\"#0\" style=\"color: orange;\">登录/注册</a> </h3></nav>";
				}
				print($s_menu);
				?>
			  </dd>
			  <dd>
				<h3><a href="about.php" target="_blank">关于</a></h3>
			  </dd>
			  <dd>
				<h3><input type="text" id="search_box" style="height:24px;line-height:24px;width:0px;margin:4px;padding:0;text-indent:8px;border:0; vertical-align:middle;" /></h3>
			  </dd>
			  <dd id="search_starter" style="background: url('./themes/default/img/icon-search.png') no-repeat;background-color:black;width:32px;height:32px;dispaly:inline;font-size:12px;background-position: center;">
			  </dd>
			</dl>
		  </div>
		  <script type="text/javascript">
		  jQuery(".cls_main_menu").slide({ type:"menu",  titCell:"dd", targetCell:"ul", delayTime:0,defaultPlay:false,returnDefault:true  });	
		  </script>
		  <script type="text/javascript">
		  
		  $(document).ready(function(){

			  $("#search_starter").die().live("click", function(e){
				  if ($("#search_box").css("width") == "0px") {
					  $("#search_box").animate({width:"128px"});
				  } else {
					  if ($("#search_box").attr("value").trim() != "") {
						  alert($("#search_box").attr("value"));
					  } else {
						  $("#search_box").animate({width:"0px"});
					  }
				  }
			  });
			  
		  });
		  
		  $("#search_box").die().live("keypress", function(e) {
			  if(e.which == 13) { 
				  jQuery("#search_starter").click(); 
			  }
		  });
		  
		  </script>
		</div>
      </div>
    </div>
    <div id="area_head_bottom">
    </div>
    <div id="area_body">
      <div id= "area_left">
		<div id = "area_recommended">
		  <div id = "wrap_xslider">
			<div class="xslider">
			  <ul class="rotaion_list">
				<?php
				$arts = get_slide_arts(5);
				$s_slide = "";
				if ($arts) {
					foreach ($arts as $art) {
						$s_slide .= "<li><a href=\"./article.php?id={$art['guid']}\">";
						$s_slide .= "<img src=\"{$art['slide']}\" width=\"600\" height=\"338\"";
						$s_slide .= " alt=\"{$art['title']}\" /></a></li>";
						print($s_slide);$s_slide = "";
					}
				}
				?>
			  </ul>
			</div>
			<script type="text/javascript">
			$(".xslider").start({auto:true});
			</script>
		  </div>
		  <div id = "wrap_editor_choices">
			<?php
			if ($chosen_arts) {
				foreach ($chosen_arts as $chosen_art) {
					$s_chosen_art = <<<EOT
			<div class="choice">
			  <a href="./article.php?id={$chosen_art['guid']}" class="img" target="_blank">
				<img src="{$chosen_art['thumb']}" />
				<span class="bg"></span>
				<p class="title">{$chosen_art['title']}</p>
				<span class="shape"></span>
			  </a>
			</div>
EOT;
					print($s_chosen_art);
				}
			}
			?>

		  </div>
		</div>
		<div class="area_space_left">
		</div>


		<input type='hidden' id='current_page' />
		<input type='hidden' id='show_per_page' />
		<div id="area_artlist">

		  <?php

		  $arts = get_all_arts("%");
		  $s_arts = "";
		  $s_art_h = "";
		  $s_art_b = "";
		  $s_art_f = "";

		  if ($arts) {
			  foreach ($arts as $art) {
				  $s_thumb = '';
				  if ( trim($art['thumb']) == '') {
					  $s_thumb = "./themes/{$cur_theme}/img/nothumb.jpg";
				  } else {
					  $s_thumb = $art['thumb'];
				  }
				  $nread = strval(get_nread_art($art['guid']));
				  $s_art_h = <<<EOT
				  <div class="article hasImg">
				  <p class="article-pic">
				  <a href="./article.php?id={$art['guid']}" target="_blank" mon="col=13&amp;pn=4&amp;a=12">
				  <img src="{$s_thumb}" />
				  </a>
				  </p>
				  <h3>
				  <a href="./article.php?id={$art['guid']}" target="_blank" mon="col=13&amp;pn=4">
				  {$art['title']}
				  </a>
				  </h3>
				  <p class="article-text1">
				  {$art['intro']}
				  </p>
				  
				  <div class="article-info">
				  作者：<a href="./author.php?name={$art['username']}" class="article-author" target="_blank">{$art['username']}</a>
				  发表于：<span class="tm">{$art['maketime']}</span>
				  <span class="count">阅读：{$nread} 次</span>
<!-- 此处可以防止分享代码 -->
				  <p class="labels">

EOT;
				  $s_art_f = <<<EOT
				  </p>
				  </div>
				  </div>
EOT;
				  $labels = get_labels_art($art['guid']);$s_art_b = "";
				  if ($labels) {
					  foreach ($labels as $label) {
						  $s_art_b .= "<span class=\"label\">" .
							  "<a class=\"labelnm\" href=\"./label?name={$label['label']}\"".
							  " target=\"_blank\">{$label['label']}</a></span>";
					  }
				  }
				  $s_arts .= $s_art_h . $s_art_b . $s_art_f;
			  }
			  print($s_arts);
		  }


		  ?>
		  
		</div>
		<div id='page_navigation' class="bar_page" style="visibility:visible;"></div>
		
      </div>
      <div id = "area_right">
		<div id="wrap_cellulitis">
		  <ul id="hex">
			<li class="p1">
			  <a href="http://mail.thesct.net" target="_blank"><b></b><span>邮件服务</span><em></em></a>
			</li>
			<li>
			  <a href="http://jq.qq.com/?_wv=1027&k=cNV8Y2" target="_blank"><b></b><span>官方QQ群</span><em></em></a>
			</li>
			<li class="p2">
			  <a href="http://git.oschina.net/thesct/XBase" target="_blank"><b></b><span>XBase项目</span><em></em></a>
			</li>
			<li class="p2">
			  <a class="inner" href="http://online.thesct.net/" target="_blank"><b></b><span>结构化意识论</span><em></em></a>
			</li>
			<li class="p2">
			  <a href="http://git.oschina.net/thesct/xblog/" target="_blank"><b></b><span>开源XBlog</span><em></em></a>
			</li>
			<li class="p1 p2">
			  <a href="rss.php" target="_blank"><b></b><span>RSS订阅</span><em></em></a>
			</li>
			<li class="p2">
			  <a href="javascript:void(0);" onclick="AddFavorite('符动乾坤-以结构化意识论的观点探索（人类）智能的奥秘！',location.href)">
				<b></b><span>收藏本站</span><em></em></a>
			</li>
		  </ul>
		</div>
		
		<div class="area_space_right"></div>
		
		<div id="wrap_ad_banner1">
		  <iframe height=338 width=336 src="http://player.youku.com/embed/XMTM4NzI4ODE2NA==" allowfullscreen></iframe>
		</div>
		
		<div class="area_space_right"></div>
		
		<!-- 标签云 开始 -->
		<div id="wrap_tagcoud">
		  <div class="cls_bar_title_left">
			<div class="cls_title_left">最热标签</div><div class="cls_subtitle_left">HOT TAGS<hr/></div>
		  </div>
		  <div class="cls_body_left">
			<div id="tagcloud">
			  <?php
			  if ($hot_labels) {
				  foreach ($hot_labels as $hot_label) {
					  $s_html = "";
					  $s_html .= "<a href=\"tag.php?label={$hot_label['label']}&?cateid=%\"";
					  $s_html .= " class=\"tag-link-109\" title=\"{$hot_label['cnt']}个话题\" style=\"font-size: 10pt;\">";
					  $s_html .= "{$hot_label['label']}</a>\r\n";
					  print($s_html);
				  }
			  }
			  ?>
			</div>
		  </div>
		</div>
		<!-- 标签云 结束 -->
		
		<div class="area_space_right"></div>
		
		<!-- 热评文章列表 开始 -->
		<div id="wrap_hot_arts">
		  <div class="cls_bar_title_left">
			<div class="cls_title_left">热评文章</div><div class="cls_subtitle_left">HOT ARTICLES<hr/></div>
		  </div>
		  <div class="cls_body_left">
			<ul class="cls_art_list">
			  <?php
			  if ($hot_arts) {
				  foreach ($hot_arts as $hot_art) {
					  $s_html = "";
					  $s_html .= "<li><p><a href=\"article.php?id=" . $hot_art['guid'] . "\"";
					  $s_html .= " target=\"_blank\">";
					  $s_html .= $hot_art['title'];
					  $s_html .= "</a></p></li>";
					  print($s_html);
				  }
			  }
			  ?>		  
			</ul>
		  </div>
		</div>
		<!-- 热评文章列表 结束 -->

		<div class="area_space_right"></div>
		
		<!-- 热门评论列表 开始 -->
		<div id="wrap_hot_comments">
		  <div class="cls_bar_title_left">
			<div class="cls_title_left">热门评论</div><div class="cls_subtitle_left">HOT COMMENTS<hr/></div>
		  </div>
		  <div class="cls_body_left">
			<div id="hot_comments">
			  <ul>
				<?php
				if ($hot_comments) {
					foreach ($hot_comments as $hot_comment) {
						$s_html = "";
						$s_html = <<<EOT
				<li>
				  <div class="author-info">
					<img class="avt" src="{$hot_comment['avatar']}" />
					<i>{$hot_comment['username']}</i>
					<span>{$hot_comment['maketime']}</span>
				  </div>
				  <div class="comment-inner">
					<p>{$hot_comment['content']}</p>
				  </div>
				  <div class="comment-refer">
					<em class="comment-icon"></em>
					<span class="t">
					  来源<a href="article.php?id={$hot_comment['guid_art']}" target="_blank">{$hot_comment['title_art']}</a>
					</span>
				  </div>
				</li>
EOT;
						print($s_html);
					}
				}
				?>
			  </ul>
			</div>
		  </div>
		</div>
		<!-- 热门评论 结束 -->

      </div>
    </div>

	
    <div id="area_space_foot"></div>
	
    <div id="area_foot">
	  <a name="foot"></a>
	  <!-- 尾部开始 -->
	  <div id="footer">
		<div class="footer_container">
          <div class="row">
            <dl class="col-sm-2 site-link">
              <dt>网站相关</dt>
			  <dd><a href="javascript:void(0);" onclick="AddFavorite('符动乾坤-以结构化意识论的观点探索（人类）智能的奥秘！',location.href)">收藏本站</a></dd>
              <dd><a href="./about.php" target="_blank">关于我们</a></dd>
              <dd><a href="./tos.php" target="_blank">服务条款</a></dd>
			  <dd><a href="./rss.php" target="_blank">RSS订阅</a></dd>
			  <dd><a href="http://jq.qq.com/?_wv=1027&k=cNV8Y2" target="_blank">官方QQ群</a></dd>
			  <dd><a href="http://online.thesct.net" target="_blank">结构化意识论</a></dd>
            </dl>
            <dl class="col-sm-2 site-link">
              <dt>联系合作</dt>
              <dd><a href="mailto:xy_god@thesct.net">站长邮箱</a></dd>
              <dd>
				<a href='http://wpa.qq.com/msgrd?V=1&uin=908224171&Site=符动乾坤&Menu=yes' target='_blank'>
				站长之Q
			  </a>
			  </dd>
              <dd><a href="/0x">建议反馈</a></dd>
              <dd><a href="<?php  print("./themes/" . $cur_theme . "/img/logo_h.png"); ?>" target="_blank">Logo下载</a>
              </dd>
            </dl>
            <dl class="col-sm-2 site-link">
              <dt>友情链接</dt>
			  <dd><a href="http://git.oschina.net/" title="Git@OSC" target="_blank">Git@OSC</a></dd>
			  <dd><a href="http://www.deepin.org/" title="深度操作系统" target="_blank">深度操作系统</a></dd> 	
			  <dd><a href="http://www.ubuntukylin.com/" title="优麒麟" target="_blank">优麒麟</a></dd> 	
			  <dd><a href="https://getfedora.org/" title="Fedora官网" target="_blank">Fedora官网</a></dd> 	
			  <dd><a href="http://www.scholarnet.cn/" title="学术网" target="_blank">学术网</a></dd> 	
			  <dd><a href="http://hexinbbs.blog.163.com/" title="何新网易博客" target="_blank">何新网易博客</a></dd> 	
            </dl>
            <dl class="col-sm-2 site-link">
              <dt>关注我们</dt>
			  <dd><a href="http://tieba.baidu.com/f?fr=search&ie=utf-8&kw=%E7%BB%93%E6%9E%84%E5%8C%96%E6%84%8F%E8%AF%86%E8%AE%BA"
					  title="结构化意识论贴吧" target="_blank">百度贴吧</a> </dd>
			  <dd><a href="http://git.oschina.net/thesct" title="Git@OSC" target="_blank">Git@OSC</a></dd>
              <dd><a href="/blog/segmentfault" target="_blank">开发日志</a></dd>
            </dl>
            <dl class="col-sm-4 site-link" id="license">
              <dt>内容许可</dt>
              <dd>除特别说明外，本站内容均为原创，转载须明确标明本站出处，否则，可视为侵权，站长保留相关一切权利。
              </dd>
			  <dd>
				Copyright © 2014-2016 符动乾坤 版权所有 违者必究.
			  </dd>
			  <dd>
				<a href="http://www.miibeian.gov.cn/" rel="nofollow" target="_blank">备案号：&nbsp;&nbsp;冀ICP备14018418号</a>
			  </dd>
			  <dd>
                <a href="http://www.thesct.net">
				  <img src="<?php  print("./themes/" . $cur_theme . "/img/logo_h.png"); ?>" width="320" height="64" />
                </a>
              </dd>
            </dl>
          </div>
		</div>
	  </div>
	  <!-- 尾部结束 -->
		<div class="clearfix"></div>
	  </div>
    </div>
	
	<div id="indicator">
	  <div id="shang" onclick="location.href='#head'"></div>
	  <div id="zhong_w">
		<div id="zhong">
		  <div class="weixin">
			<img src=<?php  print("\"./themes/" . $cur_theme . "/img/weixin.jpg\""); ?> width="150" height="150" />
		  </div>
		</div>
	  </div>
	  <div id="xia" onclick="location.href='#foot'"></div>
	</div>	
	
  </body>
</html>
